package com.xxc.dao;

import com.xxc.entity.Clazz;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author xiangcheng
 * @version 2022/6/21 17:28
 * @since JDK8
 */
@Mapper
public interface ClazzDao {
    List<Clazz> queryAll();

    int insert(Clazz clazz);

    void deleteById(Integer id);

    Clazz queryById(Integer id);
}
